package com.chapter0.string;

//把string类型转化成char
public class test1 {


    public static void main(String[] args) {
        String string = "abc" ;
        char [] stringArr = string.toCharArray();
        for (int i=0;i<stringArr.length;i++){
            System.out.println(stringArr[i]);
        }
    }
}
